package com.clj.cloud.nacos_skywalking_customer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "nacos-skywalking-producer")
public interface HelloworldService {
    @GetMapping(value = "/sayHello")
    String sayHello(@RequestParam(value = "name") String name);

    @GetMapping(value = "/findByName")
    String findByName(@RequestParam(value = "name") String name);
}
